package com.cloud.api.domain.sys;

import com.cloud.mybatis.domain.PageModelNew;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "DeptExtendQuery" )
public class DeptExtendQuery extends PageModelNew {

    @Schema(description = "网点代码")
    private String deptCode;

    @Schema(description = "部门名称")
    private String deptName;

    @Schema(description = "部门类型")
    @NotEmpty(message = "部门类型不能为空")
    private String deptType;

    @Schema(description = "部门类型数组")
    private String[] deptTypes;

    @Schema(description = "网点类型")
    private String stationType;

    @Schema(description = "省")
    private String province;

    @Schema(description = "市")
    private String city;

    @Schema(description = "区/县")
    private String district;

    @Schema(description = "营业状态:1：正常营业，0：已关闭")
    private Integer status;

    @Schema(description = "是否允许订车")
    private Integer bookCar;
}
